﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace text2.张伟鸿实验2_4
{
    public partial class cookie : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {


            if (Request.Cookies["user"] != null)

                Label1.Text = Request.Cookies["user"].Value + "同学欢迎您";
            else
                Label1.Text = "请先登录";
            

          
        }
    }
}